From: kfraser@localhost.localdomain Date: Thu, 3 Aug 2006 13:02:29 +0000 (+0100) Subject: [HVM] Remove unused ioreq state IORESP_HOOK. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15732^2~82 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=401177d41ae2f83d68998d3420d2f7211c3be66e;p=xen.git [HVM] Remove unused ioreq state IORESP_HOOK. Signed-off-by: Steven Smith --- diff --git a/xen/arch/ia64/vmx/vmx_support.c b/xen/arch/ia64/vmx/vmx_support.c index 7b90a08bdb..602f077874 100644 --- a/xen/arch/ia64/vmx/vmx_support.c +++ b/xen/arch/ia64/vmx/vmx_support.c @@ -83,9 +83,6 @@ void vmx_io_assist(struct vcpu *v) p = &vio->vp_ioreq; - if (p->state == STATE_IORESP_HOOK) - panic_domain(vcpu_regs(v),"Not supported: No hook available for DM request\n"); - if (test_bit(ARCH_VMX_IO_WAIT, &v->arch.arch_vmx.flags)) { if (p->state != STATE_IORESP_READY) { /* Can't block here, for the same reason as other places to diff --git a/xen/include/public/hvm/ioreq.h b/xen/include/public/hvm/ioreq.h index 76e107045c..7bc5782db9 100644 --- a/xen/include/public/hvm/ioreq.h +++ b/xen/include/public/hvm/ioreq.h @@ -27,7 +27,6 @@ #define STATE_IOREQ_READY 1 #define STATE_IOREQ_INPROCESS 2 #define STATE_IORESP_READY 3 -#define STATE_IORESP_HOOK 4 #define IOREQ_TYPE_PIO 0 /* pio */ #define IOREQ_TYPE_COPY 1 /* mmio ops */